<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<script>
    var index = '<%=request.getParameter("index")%>';
    // alert("index:" + index);
    $(function(){
        $(".active").eq(0).removeClass("active").siblings();
        $(".nav-item").eq(index).addClass("active").siblings();
        // $(".Baby_Healthy_home_left_sideBar_li").eq(index - 1).find('a').addClass("Baby_Healthy_home_left_sideBar_li_bgc").parents('li').siblings().find('a').removeClass("Baby_Healthy_home_left_sideBar_li_bgc");
    });
</script>

<!DOCTYPE>

<div class="sidebar" data-color="purple" data-background-color="white">

    <div class="sidebar" data-color="purple" data-background-color="white" data-image="">
        <!--
    Tip 1: You can change the color of the sidebar using: data-color="purple | azure | green | orange | danger"

    Tip 2: you can also add an image using data-image tag
-->
        <div class="logo">
            <a href="" class="simple-text logo-normal">
                Go Win
            </a>
        </div>
        <div class="sidebar-wrapper">
            <ul class="nav">
                <li class="nav-item">
                    <a class="nav-link" href="${pageContext.request.contextPath}/s/home.do">
                        <i class="material-icons">dashboard</i>
                        <p>赛事中心</p>
                    </a>
                </li>
                <li class="nav-item ">
                    <a class="nav-link" href="${pageContext.request.contextPath}/s/user.do">
                        <i class="material-icons">person</i>
                        <p>会员中心</p>
                    </a>
                </li>
                <li class="nav-item ">
                    <a class="nav-link" href="${pageContext.request.contextPath}/s/order.do">
                        <i class="material-icons">content_paste</i>
                        <p>投注单管理</p>
                    </a>
                </li>
                <li class="nav-item ">
                    <a class="nav-link" href="${pageContext.request.contextPath}/s/money.do">
                        <i class="material-icons">library_books</i>
                        <p>资金管理</p>
                    </a>
                </li>
                <li class="nav-item ">
                    <a class="nav-link" href="${pageContext.request.contextPath}/s/distribution.do">
                        <i class="material-icons">bubble_chart</i>
                        <p>分销系统</p>
                    </a>
                </li>
                <li class="nav-item ">
                    <a class="nav-link" href="${pageContext.request.contextPath}/s/setting.do">
                        <i class="material-icons">location_ons</i>
                        <p>数据配置</p>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>